from django.shortcuts import render


def input(request):
    return render(request, 'wordCount.html')


def count(request):
    word=request.GET['inputContent']
    return render(request, 'wordResult.html', {'word': word,
                                               'count': len(word)})
